package com.gitee.ayezs.util;

import com.gitee.ayezs.annotation.wrapper.WrapperAnnotation;

import java.lang.annotation.Annotation;

/**
 *
 */
public class FindAnnotationInfo {
    /**
     * 在字段上加的注解
     */
    Annotation condition;
    Class[] group;
    /**
     * 用于描述注解如何处理数据
     */
    WrapperAnnotation wrapperAnnotation;

    public Annotation getCondition() {
        return condition;
    }

    public FindAnnotationInfo setCondition(Annotation condition) {
        this.condition = condition;
        return this;
    }

    public Class[] getGroup() {
        return group;
    }

    public FindAnnotationInfo setGroup(Class[] group) {
        this.group = group;
        return this;
    }

    public WrapperAnnotation getWrapperAnnotation() {
        return wrapperAnnotation;
    }

    public FindAnnotationInfo setWrapperAnnotation(WrapperAnnotation wrapperAnnotation) {
        this.wrapperAnnotation = wrapperAnnotation;
        return this;
    }
}
